﻿ 
namespace Core.Items.Modules
{
    /*

		MetaGroup                      = EngineeringEquipment
		Group                          = Coreactors
		Module                         = e-set 15vaw coreactor
		CpuUsage                       = 40.00 TF
		Type                           = Passive
		Slot                           = Legs
		TechnologicalLevel             = T4
		Mass                           = 100.00 kg
		PackedVolume                   = 0.25 U
		Volume                         = 0.50 U
		ReactorPerformance             = 120 %
    */

    using System;
    using Base;
    using Contracts.Enums;
    using Contracts.Interfaces;
    using Extensions;
    using Features;
    
    /// <summary>
    /// E-set 15VaW coreactor module class
    /// </summary>
    /// <remarks>File generated on 31/10/2011 16:00:54</remarks>
    public sealed class ESet15vawCoreactor : ModuleBase
    {
        /// <summary>
        /// Create a new instance of the <see cref="ESet15vawCoreactor"/> class.
        /// </summary>
        public ESet15vawCoreactor()
            : base(
            "E-set 15VaW coreactor",
            "",
            ModuleMetaGroupsEnum.EngineeringEquipment,
            ModuleGroupsEnum.Coreactors,
            TechnologyLevelsEnum.Level4,
            SizesEnum.Small,
            new LazyFeature[] { 
				new LazyFeature(typeof(EngineeringCpuUsage<double>),40.00),
				new LazyFeature(typeof(ModuleMass<double>),100.00), },
            null,
            new IModifier[] { 
				new Modifier( FeatureTypesEnum.Robot, FeaturesEnum.RobotMass, 100.00 ){ IsVisible = false },
				new Modifier( FeatureTypesEnum.Robot, FeaturesEnum.ReactorPerformance, 0.2 ){ Unit = UnitsEnum.Percentage, DisplayName = "Reactor performance"  }, } )
        {
        }

        /// <summary>
        /// Obtains the activation type
        /// </summary>
        public override ModuleActivationTypesEnum ActivationType
        {
            get { return ModuleActivationTypesEnum.Passive; }
        }
        /// <summary>
        /// Obtains the module slot group 
        /// </summary>
        public override SlotGroupsEnum SlotGroup
        {
            get { return SlotGroupsEnum.Legs; }
        }
        /// <summary>
        /// Obtains the module slot type 
        /// </summary>
        public override SlotTypesEnum SlotType
        {
            get { return SlotTypesEnum.Modules; }
        }
    }
}